package com.vegetable.modules.service.baseData;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vegetable.common.utils.Constant;
import com.vegetable.common.utils.PageUtils;
import com.vegetable.common.utils.R;
import com.vegetable.modules.entity.baseData.FundAccount;

import java.math.BigDecimal;
import java.util.Map;

/**
 * <p>
 * 资金账户 服务类
 * </p>
 *
 * @author wangruijie
 * @since 2024-03-04
 */
public interface IFundAccountService extends IService<FundAccount> {

    /**
     * 资金账户
     * @param params
     * @return
     */
    PageUtils queryPage(Map<String, Object> params);

    @Deprecated
    void addReceipts(Long accountId, BigDecimal changeNumber, Constant.MoneyTYPE changeType, String relateDocNo, Long relateOrderId, String target);

    R financialAnalysis(Integer chartRange);
}
